package com.ashley.day_11;

public class ExtendsTest {
	public static void main(String[] args) {

		Person p = new Person();
//		p.age = 1;
		p.eat();

		System.out.println();

		Student s = new Student();
		s.eat();
//		s.sleep();
		s.name = "Tom";
		s.setAge(10);
		System.out.println(s.getAge());

		s.breath();

	}
}
